home *** CD-ROM | disk | FTP | other *** search
- Path: venus.roc.csci.csc.com!usenet
- From: spamment@pccom1-156.csci.csc.com (Simon Pamment)
- Newsgroups: comp.lang.c++
- Subject: Re: C++ compilers for Unix
- Date: 21 Jan 1996 19:28:16 -0600
- Organization: Computer Sciences Corporation
- Sender: spamment@pccom1-156.csci.csc.com
- Message-ID: <fg20ott3v3.fsf@pccom1-156.csci.csc.com>
- References: <4dgh98$8pk@bcarh8ab.bnr.ca> <4dlqv4$7a_003@news.indirect.com>
- NNTP-Posting-Host: pccom1-156.csci.csc.com
- In-reply-to: chrism@xroads.com's message of 18 Jan 1996 18:06:13 GMT
- X-Newsreader: Gnus v5.1
-
-
- In article <4dlqv4$7a_003@news.indirect.com> chrism@xroads.com (Chris McCabe) writes:
-
- > In article <4dgh98$8pk@bcarh8ab.bnr.ca>, Stephen Hui <stu2r41@bnr.ca> wrote:
- > >I am looking for C++ compilers to run under HP-UX especially compilers that
- > >generate compact code. Any information is appreciated. thanks
- > >
- >
- > I strongly recommend using the GNU C++ compiler. It generates good,
- > efficient code, and you will be able to compile on other UNIX platforms
- > with little or no changes to the code. I have had far fewer problems
- > with GNU than with HP's compiler.
- > One note - if you are building shared libraries, check to see if the
- > compiler you choose supports it. I'm not sure if GNU does or not.
- >
- > -Chris
- >
-
- I'll second that motion as we too have had numerous problems with
- HP's compiler. The last project I worked on was developed using
- GNU's C++ compiler. We have since attempted to compile the existing
- code with HP's compiler but without success. We enlisted HP's help
- but in the end it was to no avail. Some things would simply not
- compile while others required us to violate the standard to get
- them to compile (which does nothing for portability).
-
- Recently we attempted to port the code to an AIX platform also
- having the GNU C++ compiler. Apart from a few places where we had
- used non-standard system calls our code basically compiled straight
- out of the box.
-
- For me this last aspect is a very persuasive argument for using a
- non platform specific compiler such as GNU. Of course it is always
- useful to sanity check code written under GNU's C++ compiler by
- compiling it under a platform's native C++ compiler (if one is
- available).
-
- I hope this helps your decision.
-
- ... Simon ...
- --
- ===============================================================================
- Simon Pamment CSC Intelicom - TRIS Division
- Voice: (217) 351-8250 Ext:2482 115 North Neil
- Fax : (217) 351-7420 Bank of Illinois Building
- Email: spamment@csci.csc.com Champaign, IL 61824-0770
- ===============================================================================
-
-